<?php
    include_once("checkAuthenticationAction.php");
    include_once("../service/bannerService.php");
    include_once("../util/constant.php");
    $left = $_POST["left"];
    $right = $_POST["right"];
    $center = $_POST["center"];
    $event = $_POST["event"];    
    
    enableLeftBanner($left);
    enableCenterBanner($center);
    enableRightBanner($right);
    enableEventBanner($event);
    echo "<script>window.location.href='../admin/banner_enabler.php'</script>";
?>
